package com.payment.system.domain;

import com.payment.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 地区表 hatchet_administrative_division
 * 
 * @author payment
 * @date 2018-12-26
 */
public class AdministrativeDivision extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 区域名字 */
	private String divisionName;
	/** 上级名称 */
	private String parentId;
	/** 区域代码 */
	private String divisionCode;
	/** 大区id */
	private String chinaRegionId;
	/** 地区代码 */
	private String areaCode;
	/** 经度 */
	private String longitude;
	/** 纬度 */
	private String latitude;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setDivisionName(String divisionName) 
	{
		this.divisionName = divisionName;
	}

	public String getDivisionName() 
	{
		return divisionName;
	}
	public void setParentId(String parentId) 
	{
		this.parentId = parentId;
	}

	public String getParentId() 
	{
		return parentId;
	}
	public void setDivisionCode(String divisionCode) 
	{
		this.divisionCode = divisionCode;
	}

	public String getDivisionCode() 
	{
		return divisionCode;
	}
	public void setChinaRegionId(String chinaRegionId) 
	{
		this.chinaRegionId = chinaRegionId;
	}

	public String getChinaRegionId() 
	{
		return chinaRegionId;
	}
	public void setAreaCode(String areaCode) 
	{
		this.areaCode = areaCode;
	}

	public String getAreaCode() 
	{
		return areaCode;
	}
	public void setLongitude(String longitude) 
	{
		this.longitude = longitude;
	}

	public String getLongitude() 
	{
		return longitude;
	}
	public void setLatitude(String latitude) 
	{
		this.latitude = latitude;
	}

	public String getLatitude() 
	{
		return latitude;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("divisionName", getDivisionName())
            .append("parentId", getParentId())
            .append("divisionCode", getDivisionCode())
            .append("chinaRegionId", getChinaRegionId())
            .append("areaCode", getAreaCode())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .toString();
    }
}
